package mobi.hami.huapin.dao;

import mobi.hami.huapin.daobase.CrudMapper;
import mobi.hami.huapin.model.PoiInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PoiInfoMapper extends CrudMapper<PoiInfo> {

    @Select("select name from gaode_address_code where adcode in (${adcodes})")
    List<String> getPOINameByadcodes(@Param("adcodes")String adcodes);

}